package com.hzqy.persistence.dao.epg;


import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.CmContentVo;
import com.hzqy.web.vo.activity.ActivityVoteUserVo;


@Repository
public class MovieAndSerialDao extends PersistenceDao<CmContentVo, Integer> {
	
	public List<CmContentVo> selectMASList(Map<String, Object> map){
		return getSqlSession().selectList(this.getNamespace()+"selectMASList",map);
	}

	public List<ActivityVoteUserVo> selectMASVotenum(ActivityVoteUserVo avu) {
		return getSqlSession().selectList(this.getNamespace()+"selectMASVotenum",avu);
	}
	
	public int insertMASVoteUser(ActivityVoteUserVo acvote) {
		return getSqlSession().insert(this.getNamespace() +"insertMASVoteUser", acvote);
	}
	
	public List<ActivityVoteUserVo> selectSisterVotenum(ActivityVoteUserVo avu) {
		return getSqlSession().selectList(this.getNamespace()+"selectSisterVotenum",avu);
	}
	
}
